package work20241129.oop2;

/**
 * @author zdl
 * @date 2024/11/29
 */
public class Dog {
    //毛色
    String color;
    //品种
    String breed;
    //名字
    String name;


    public void fight(){
        System.out.println("狗会打架!");
    }
    public void lookHome(){
        System.out.println("狗会看门!");
    }

}
